LoadFonts(Byte[],Boolean) Method
Loads all fonts from a specified byte array into the collection.
Use the RegisterFont method if there is a font file.
public System.int LoadFonts(
System.byte[] ,
System.bool
)
'Declaration
Public Overloads Function LoadFonts( _
ByVal () As System.Byte, _
Optional ByVal As System.Boolean _
) As System.Integer
Parameters
- fontData
- The byte array with the font data.
- addToFallbacks
- Specifies if all the registered fonts should be added to the fallback font collection.
Return Value
The number of loaded fonts.